Release 10.1A: OpenEdge Reporting:
Report Builder Deployment
Generating a list of reports, prompting the user to select which reports to run, and running the reports
The
rblist2.psample procedure generates a list of all the reports in therbsample.prlreport library, prompts the user to specify which reports to run, then runs the reports. This procedure assumes that all of the reports in the list generated by_getname.puse the Sports database. Report Engine connects to the database only once on startup, and the same connection is used for each report since the’=>’ syntax is used in theRB-DB-CONNECTIONfield of the RBREPORT table.To run the
rblist2.pprocedure with therbsample.prlreport library, execute the following command:
Here is the
rbplist2.pprocedure:
The commented numbers correspond to the following step-by-step descriptions:
- Define the variables used in the procedure.
- Define the input parameter to the procedure.
- Define the user-answer variable to handle the user’s input.
- Run
_getname.pto generate a list of reports in the specified library.- Prompt the user and add the selected reports to the Runtable database.
- Run the selected reports, then delete the table records.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |